﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.Hanker
{
    /// <summary>
    /// 设备信息
    /// </summary>
    public class DeviceInfo
    {
        public DeviceInfo()
        {
            this.ServerPort = 8000;
            this.UserName = "admin";
        }
        /// <summary>
        /// 设备IP
        /// </summary>
        public string ServerIP { get; set; }
        /// <summary>
        /// 设备端口
        /// </summary>
        public int ServerPort { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 设备序列号
        /// </summary>
        public string SerialNumber { get; set; }
        /// <summary>
        /// 模拟通道
        /// </summary>
        public string AnalogChannel { get; set; }
        /// <summary>
        /// IP通道
        /// </summary>
        public string IPChannel { get; set; }
        /// <summary>
        /// 零通道个数
        /// </summary>
        public string ZeroChannel { get; set; }
        /// <summary>
        /// 网口
        /// </summary>
        public string NetworkPort { get; set; }
        /// <summary>
        /// 报警输入
        /// </summary>
        public string AlarmIn { get; set; }
        /// <summary>
        /// 报警输出
        /// </summary>
        public string AlarmOut { get; set; }
        /// <summary>
        /// IPv4地址
        /// </summary>
        public string DVRIP { get; set; }
        /// <summary>
        /// 默认网关
        /// </summary>
        public string Gateway { get; set; }
        /// <summary>
        /// 子网掩码
        /// </summary>
        public string DVRIPMask { get; set; }
        /// <summary>
        /// DNS
        /// </summary>
        public string DNS { get; set; }
        /// <summary>
        /// 报警主机地址
        /// </summary>
        public string AlarmAddr { get; set; }
        /// <summary>
        /// 报警主机端口
        /// </summary>
        public string AlarmPort { get; set; }
        /// <summary>
        /// Http端口
        /// </summary>
        public string HttpPort { get; set; }
        /// <summary>
        /// 设备端口
        /// </summary>
        public string DVRPort { get; set; }
        /// <summary>
        /// 启用DHCP自动获取IP
        /// </summary>
        public bool UseDHCP { get; set; }
        /// <summary>
        /// 启用PPPOE自动
        /// </summary>
        public bool PPPOE { get; set; }
        /// <summary>
        /// PPPOE账号
        /// </summary>
        public string PPPoEUser { get; set; }
        /// <summary>
        /// PPPOE密码
        /// </summary>
        public string PPPoEPassword { get; set; }
    }
}
